package com.ruoyi.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class PrivilegeUser {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String name;
    private String phone;
    private String appId;
    private String appKey;
    @TableField( fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm", timezone = "GMT+8")
    private Date createTime;
}
